﻿<Window x:Class="Gao.Poker.App.LoginWin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LoginWin" Height="200" Width="300" WindowStartupLocation="CenterScreen" WindowStyle="None">
    
    <Grid Name="loginMain" Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="60"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60"></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <StackPanel Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
            <TextBlock  FontWeight="Bold" FontSize="30">Login</TextBlock>
        </StackPanel>

        <Label Grid.Column="0" Grid.Row="1" Margin="0,5,0,0">用户名：</Label>
        <TextBox Grid.Column="1" Padding="0" VerticalContentAlignment="Center" Name="Username" Grid.Row="1" Margin="0,5,0,0">
        </TextBox>

        <Label Grid.Column="0" Grid.Row="2" Margin="0,5,0,0">
            <Label.Content>密    码：</Label.Content>
        </Label>
        <PasswordBox Grid.Column="1" Padding="0" VerticalContentAlignment="Center" Grid.Row="2" Name="Password" Margin="0,5,0,0">
        </PasswordBox>


        <StackPanel Orientation="Horizontal" Grid.ColumnSpan="2" Grid.Row="3" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button Padding="5" Name="btnLogin">登录</Button>
            <Button Padding="5" Name="btnClose" Margin="30,0,0,0">取消</Button>
        </StackPanel>
       
    </Grid>
</Window>
